//
//  CAShapeLayerConfig.m
//  MyFunctionDemo
//
//  Created by Ting Han on 2017/9/19.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "CAShapeLayerConfig.h"

@implementation CAShapeLayerConfig

- (void)configCAShapeLayer:(CAShapeLayer *)shapeLayer{
    
    shapeLayer.lineWidth = self.lineWidth;
    shapeLayer.fillColor = (self.fillColor == nil ? [UIColor whiteColor].CGColor:self.fillColor.CGColor);
    shapeLayer.strokeColor = (self.strokeColor == nil ? [UIColor whiteColor].CGColor : self.strokeColor.CGColor);
    
}

@end
